package br.com.drinksbar.negocio;

import javax.swing.JOptionPane;

import br.com.drinksbar.persistencia.RepositorioCliente;

public class TesteConexao {

	public static void main(String[] args) {

		Cliente c = new Cliente("Diego", "Rua A", "Afogados", "Recife", "PE",
				"52280000", "32660000", "082201", "M");

		RepositorioCliente repCLiente = new RepositorioCliente();
		try {
			repCLiente.cadastrarCliente(c);
		} catch (Exception e) {
			
			JOptionPane.showMessageDialog(null, e.getMessage());
		}

	}

}
